package com.blog.service.imp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.blog.dao.sys.RoleAndMenuDao;
import com.blog.entity.sys.RoleAndMenu;
import com.blog.service.sys.RoleAndMenuService;
 

@Service
public class RoleAndMenuServiceImp implements RoleAndMenuService {

		@Autowired
		private RoleAndMenuDao dao;

		@Override
		public Integer insertRoleMenu(RoleAndMenu rm) {
			return dao.insertRoleMenu(rm);
		}
	 
		@Override
		public Integer deleteRoleMenu(RoleAndMenu rm) {
			return dao.deleteRoleMenu(rm);
		}

		 
		
}
